<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>hello</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<!--/*@thymesVar id="name" type="java.lang.String"*/-->
<p th:text="'Hello！, ' + ${student.name} + '!'" >3333</p>

<p>Get your greeting <a href="/api/attachment/saveOne">here</a></p>
<form action="/api/attachment/saveOne" method="POST" enctype="multipart/form-data">
	<p>studentId<input type="text" name="relaId" id="relaId" value="2"/></p>
    文件：<input type="file" name="file"/>
    <input type="text" id ="name" name="name"/>
    <input type="text" id ="age" name="age"/>
    <input type="submit" />
</form>
<a href="/download">下载test</a>
<p>多文件上传</p>
<form method="POST" enctype="multipart/form-data" action="/batch/upload">
    <p>文件1：<input type="file" name="file" /></p>
    <p>文件2：<input type="file" name="file" /></p>
    <p><input type="submit" value="上传" /></p>
</form>
<p>定向多文件上传</p>
<form method="POST" enctype="multipart/form-data" action="/batchupload">
	<p>studentId<input type="text" name="relaId" id="relaId" value="2"/></p>
    <p>文件1：<input type="file" name="fileDemo" /></p>
    <p>文件2：<input type="file" name="fileDemo" /></p>
    <p><input type="submit" value="上传" /></p>
</form>
</body>
</html>